package com.example.batch_demo.entity.source;

import jakarta.persistence.*;
import lombok.Data;

/**
 * @Description
 * @Author lihw
 * @Date 2023/12/14 14:55
 */
@Data
@Entity
@Table(name = "student")
public class StudentSource {

    @Id
    @Column(name = "stu_id")
    private Long stuId;
    @Column(name = "name")
    private String name;
    @Column(name = "age")
    private Integer age;
    @Column(name = "class_id")
    private Long classId;
}
